package com.yuanduo_app.db.waterdb

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * versions:
 * coding by pmj on 2021/8/9
 * desc:
 */
@Entity(tableName = "WaterData")
data class WaterData @JvmOverloads constructor(
    @ColumnInfo(name = "filePath") var filePath: String? = "",
    @ColumnInfo(name = "time") var time: String? = "",
    @ColumnInfo(name = "address") var address: String? = "",
    @ColumnInfo(name = "lat") var lat: String? = "",
    @ColumnInfo(name = "lng") var lng: String? = "",
    @ColumnInfo(name = "carNum") var carNum: String? = "",

    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "imageId")
    var imageId: Long=0,
)
